<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <title>Axios</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
  <link rel="stylesheet" href="../styles/article.css" />
  <link rel="shortcut icon" href="../images/logo/github.png" />
</head>

<body>
  <div class="page-header">
    <h1 class="logo"><img data-src="../images/logo/axios.svg" />Axios</h1>
    <ul class="nav">
      <li>
        <a>参考资料</a>
        <ul class="dropdown">
          <li><a href="https://github.com//axios">Axios 官网</a></li>
          <li><a href="http://www.axios-js.com/zh-cn/docs/">Axios 中文网</a></li>
        </ul>
      </li>
    </ul>
  </div>
  <div class="page-sidebar">
    <ul class="menu-root" id="menu"></ul>
  </div>
  <div class="page-container">
    <h1>Axios</h1>
    <h2>起步</h2>
    <ul>
      <li>Axios 是一个基于 promise 的 HTTP 库，可以用在浏览器和 node.js 中。</li>
      <li>Axios 的特性<a href="http://www.axios-js.com/zh-cn/docs/#特性"></a>。</li>
      <li>Axios 的浏览器支持<a href="http://www.axios-js.com/zh-cn/docs/#浏览器支持"></a>。</li>
      <li>Axios 的安装<a href="http://www.axios-js.com/zh-cn/docs/#安装"></a>。</li>
      <li>Axios 的基础示例<a href="http://www.axios-js.com/zh-cn/docs/#案例"></a>。</li>
    </ul>
    <h2>请求方法<a href="http://www.axios-js.com/zh-cn/docs/#axios-API"></a></h2>
    <ol>
      <li><code>axios(config)</code></li>
      <li><code>axios.request(config)</code></li>
      <li><code>axios.get(url[, config])</code></li>
      <li><code>axios.delete(url[, config])</code></li>
      <li><code>axios.head(url[, config])</code></li>
      <li><code>axios.options(url[, config])</code></li>
      <li><code>axios.post(url[, data[, config]])</code></li>
      <li><code>axios.put(url[, data[, config]])</code></li>
      <li><code>axios.patch(url[, data[, config]])</code></li>
    </ol>
  </div>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script>
  <script src="../scripts/article.js"></script>
</body>

</html>
